OBJ_S390CS=asm_s390_cs.o

include p/capstone.mk

STATIC_OBJ+=${OBJ_S390CS}
SHARED_OBJ+=${SHARED_S390CS}
TARGET_S390CS=asm_s390_cs.${EXT_SO}

ifeq ($(WITHPIC),1)
ALL_TARGETS+=${TARGET_S390CS}

${TARGET_S390CS}: ${OBJ_S390CS}
	${CC} $(call libname,asm_s390_cs) ${LDFLAGS} ${CFLAGS} $(CS_LDFLAGS) \
		-o ${TARGET_S390CS} ${OBJ_S390CS} ${SHARED2_S390CS}
endif
